import request from "@/router/axios";

// 获取系统配置
export const getConfigList = (params) => {
  return request({
    url: "/api/admin/config/get",
    method: "get",
    params,
  });
};

// 更新系统配置
export const updateConfig = (data) => {
  return request({
    url: "/api/admin/config/save",
    method: "post",
    data: data,
  });
};
